using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI;
using System.Web.UI.WebControls;
using Microsoft.SharePoint;
using TST.SharePoint.Shared;
using System.Xml;

namespace TST.WebParts
{
    public class ConfigurationControl: UserControl
    {
        private DatasourceConfiguration _currentConfiguration;
        private DatasourceConfiguration _editConfiguration;
        private GridDatasource _datasource;
        private SPWeb _web;

        public SPWeb Web
        {
            get { return _web; }
            set { _web = value; }
        }

        public GridDatasource Datasource
        {
            get { return _datasource; }
            set
            { _datasource = value; }
        }

        public DatasourceConfiguration CurrentConfiguration
        {
            get { return _currentConfiguration; }
            set { _currentConfiguration = value; }
        }

        public DatasourceConfiguration EditConfiguration
        {
            get { return _editConfiguration; }
            set { _editConfiguration = value; }
        }

    }
}
